package com.internetCafes.spms.web.customer.mapper.customer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.internetCafes.spms.web.customer.entity.customer.CustomerMaterial;
import com.internetCafes.spms.web.customer.model.customer.material.MaterialPagingDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 客户报考资料表 Mapper 接口
 * </p>
 *
 * @author Zj
 * @since 2021-10-20
 */
@Mapper
public interface CustomerMaterialMapper extends BaseMapper<CustomerMaterial> {

    /**
     * 报考资料分页
     *
     * @param page     分页数据
     * @param pagingDo 分页自定义赛选条件
     * @return 分页数据
     */
    Page<CustomerMaterial> paging(Page<CustomerMaterial> page, @Param("pagingDo") MaterialPagingDo pagingDo);
}
